package cn.flying.financial.cps.process.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 申请人信息
 *
 * @author lvyong
 * @since 2024-02-19 16:34:28
 */
@TableName("cp_application_info")
public class CpApplicationInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 申请单号
     */
    @TableField("app_no")
    private String appNo;

    /**
     * 申请人
     */
    @TableField("name")
    private String name;

    /**
     * 性别
     */
    @TableField("gender")
    private String gender;

    /**
     * 年龄
     */
    @TableField("age")
    private Integer age;

    /**
     * 生日
     */
    @TableField("birthday")
    private LocalDate birthday;

    /**
     * 国籍
     */
    @TableField("nationality")
    private String nationality;

    /**
     * 民族
     */
    @TableField("nation")
    private String nation;

    /**
     * 证件编号
     */
    @TableField("id_no")
    private String idNo;

    /**
     * 证件类型
     */
    @TableField("id_type")
    private String idType;

    /**
     * 证件开始日期
     */
    @TableField("id_start_date")
    private LocalDate idStartDate;

    /**
     * 证件结束日期
     */
    @TableField("id_end_date")
    private LocalDate idEndDate;

    /**
     * 移动电话
     */
    @TableField("phone")
    private String phone;

    /**
     * 婚姻状态
     */
    @TableField("marital_status")
    private String maritalStatus;

    /**
     * 邮箱
     */
    @TableField("email")
    private String email;

    /**
     * 教育程度
     */
    @TableField("education")
    private String education;

    /**
     * 学位
     */
    @TableField("degree")
    private String degree;

    /**
     * 户籍地所在省
     */
    @TableField("regis_province")
    private String regisProvince;

    /**
     * 户籍地所在市
     */
    @TableField("regis_city")
    private String regisCity;

    /**
     * 户籍地所在区（县）
     */
    @TableField("regis_district")
    private String regisDistrict;

    /**
     * 户籍地所在街道（村）
     */
    @TableField("regis_street")
    private String regisStreet;

    /**
     * 户籍地所在详细地址
     */
    @TableField("regis_address")
    private String regisAddress;

    /**
     * 居住地所在省
     */
    @TableField("abode_province")
    private String abodeProvince;

    /**
     * 居住地所在市
     */
    @TableField("abode_city")
    private String abodeCity;

    /**
     * 居住地所在区（县）
     */
    @TableField("abode_district")
    private String abodeDistrict;

    /**
     * 居住地所在街道（村）
     */
    @TableField("abode_street")
    private String abodeStreet;

    /**
     * 居住地所在详细地址
     */
    @TableField("abode_address")
    private String abodeAddress;

    /**
     * 职业
     */
    @TableField("work_job")
    private String workJob;

    /**
     * 工作单位
     */
    @TableField("work_unit")
    private String workUnit;

    /**
     * 单位联系电话
     */
    @TableField("work_phone")
    private String workPhone;

    /**
     * 联系人姓名1
     */
    @TableField("linkman_name1")
    private String linkmanName1;

    /**
     * 联系人证件号码1
     */
    @TableField("linkman_id_no1")
    private String linkmanIdNo1;

    /**
     * 联系人证件类型1
     */
    @TableField("linkman_id_type1")
    private String linkmanIdType1;

    /**
     * 联系人电话1
     */
    @TableField("linkman_phone1")
    private String linkmanPhone1;

    /**
     * 联系人关系1
     */
    @TableField("linkman_relation1")
    private String linkmanRelation1;

    /**
     * 联系人姓名2
     */
    @TableField("linkman_name2")
    private String linkmanName2;

    /**
     * 联系人证件号码2
     */
    @TableField("linkman_id_no2")
    private String linkmanIdNo2;

    /**
     * 联系人证件类型2
     */
    @TableField("linkman_id_type2")
    private String linkmanIdType2;

    /**
     * 联系人电话2
     */
    @TableField("linkman_phone2")
    private String linkmanPhone2;

    /**
     * 联系人关系2
     */
    @TableField("linkman_relation2")
    private String linkmanRelation2;

    /**
     * 备注
     */
    @TableField("remark")
    private String remark;

    /**
     * 租户号
     */
    @TableField("tenant_id")
    private String tenantId;

    /**
     * 管理人ID
     */
    @TableField("biz_user_id")
    private String bizUserId;

    /**
     * 管理人名称
     */
    @TableField("biz_user_name")
    private String bizUserName;

    /**
     * 所属机构ID
     */
    @TableField("biz_org_id")
    private String bizOrgId;

    /**
     * 所属机构名称
     */
    @TableField("biz_org_name")
    private String bizOrgName;

    /**
     * 权限ID
     */
    @TableField("role_id")
    private String roleId;

    /**
     * 乐观锁
     */
    @TableField("revision")
    @Version
    private Long revision;

    /**
     * 创建人
     */
    @TableField(value = "created_by", fill = FieldFill.INSERT)
    private String createdBy;

    /**
     * 创建时间
     */
    @TableField(value = "created_time", fill = FieldFill.INSERT)
    private LocalDateTime createdTime;

    /**
     * 更新人
     */
    @TableField(value = "updated_by", fill = FieldFill.INSERT_UPDATE)
    private String updatedBy;

    /**
     * 更新时间
     */
    @TableField(value = "updated_time", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updatedTime;

    /**
     * 删除标识
     */
    @TableField(value = "deleted", fill = FieldFill.INSERT)
    @TableLogic
    private String deleted;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAppNo() {
        return appNo;
    }

    public void setAppNo(String appNo) {
        this.appNo = appNo;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public LocalDate getBirthday() {
        return birthday;
    }

    public void setBirthday(LocalDate birthday) {
        this.birthday = birthday;
    }

    public String getNationality() {
        return nationality;
    }

    public void setNationality(String nationality) {
        this.nationality = nationality;
    }

    public String getNation() {
        return nation;
    }

    public void setNation(String nation) {
        this.nation = nation;
    }

    public String getIdNo() {
        return idNo;
    }

    public void setIdNo(String idNo) {
        this.idNo = idNo;
    }

    public String getIdType() {
        return idType;
    }

    public void setIdType(String idType) {
        this.idType = idType;
    }

    public LocalDate getIdStartDate() {
        return idStartDate;
    }

    public void setIdStartDate(LocalDate idStartDate) {
        this.idStartDate = idStartDate;
    }

    public LocalDate getIdEndDate() {
        return idEndDate;
    }

    public void setIdEndDate(LocalDate idEndDate) {
        this.idEndDate = idEndDate;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getMaritalStatus() {
        return maritalStatus;
    }

    public void setMaritalStatus(String maritalStatus) {
        this.maritalStatus = maritalStatus;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getEducation() {
        return education;
    }

    public void setEducation(String education) {
        this.education = education;
    }

    public String getDegree() {
        return degree;
    }

    public void setDegree(String degree) {
        this.degree = degree;
    }

    public String getRegisProvince() {
        return regisProvince;
    }

    public void setRegisProvince(String regisProvince) {
        this.regisProvince = regisProvince;
    }

    public String getRegisCity() {
        return regisCity;
    }

    public void setRegisCity(String regisCity) {
        this.regisCity = regisCity;
    }

    public String getRegisDistrict() {
        return regisDistrict;
    }

    public void setRegisDistrict(String regisDistrict) {
        this.regisDistrict = regisDistrict;
    }

    public String getRegisStreet() {
        return regisStreet;
    }

    public void setRegisStreet(String regisStreet) {
        this.regisStreet = regisStreet;
    }

    public String getRegisAddress() {
        return regisAddress;
    }

    public void setRegisAddress(String regisAddress) {
        this.regisAddress = regisAddress;
    }

    public String getAbodeProvince() {
        return abodeProvince;
    }

    public void setAbodeProvince(String abodeProvince) {
        this.abodeProvince = abodeProvince;
    }

    public String getAbodeCity() {
        return abodeCity;
    }

    public void setAbodeCity(String abodeCity) {
        this.abodeCity = abodeCity;
    }

    public String getAbodeDistrict() {
        return abodeDistrict;
    }

    public void setAbodeDistrict(String abodeDistrict) {
        this.abodeDistrict = abodeDistrict;
    }

    public String getAbodeStreet() {
        return abodeStreet;
    }

    public void setAbodeStreet(String abodeStreet) {
        this.abodeStreet = abodeStreet;
    }

    public String getAbodeAddress() {
        return abodeAddress;
    }

    public void setAbodeAddress(String abodeAddress) {
        this.abodeAddress = abodeAddress;
    }

    public String getWorkJob() {
        return workJob;
    }

    public void setWorkJob(String workJob) {
        this.workJob = workJob;
    }

    public String getWorkUnit() {
        return workUnit;
    }

    public void setWorkUnit(String workUnit) {
        this.workUnit = workUnit;
    }

    public String getWorkPhone() {
        return workPhone;
    }

    public void setWorkPhone(String workPhone) {
        this.workPhone = workPhone;
    }

    public String getLinkmanName1() {
        return linkmanName1;
    }

    public void setLinkmanName1(String linkmanName1) {
        this.linkmanName1 = linkmanName1;
    }

    public String getLinkmanIdNo1() {
        return linkmanIdNo1;
    }

    public void setLinkmanIdNo1(String linkmanIdNo1) {
        this.linkmanIdNo1 = linkmanIdNo1;
    }

    public String getLinkmanIdType1() {
        return linkmanIdType1;
    }

    public void setLinkmanIdType1(String linkmanIdType1) {
        this.linkmanIdType1 = linkmanIdType1;
    }

    public String getLinkmanPhone1() {
        return linkmanPhone1;
    }

    public void setLinkmanPhone1(String linkmanPhone1) {
        this.linkmanPhone1 = linkmanPhone1;
    }

    public String getLinkmanRelation1() {
        return linkmanRelation1;
    }

    public void setLinkmanRelation1(String linkmanRelation1) {
        this.linkmanRelation1 = linkmanRelation1;
    }

    public String getLinkmanName2() {
        return linkmanName2;
    }

    public void setLinkmanName2(String linkmanName2) {
        this.linkmanName2 = linkmanName2;
    }

    public String getLinkmanIdNo2() {
        return linkmanIdNo2;
    }

    public void setLinkmanIdNo2(String linkmanIdNo2) {
        this.linkmanIdNo2 = linkmanIdNo2;
    }

    public String getLinkmanIdType2() {
        return linkmanIdType2;
    }

    public void setLinkmanIdType2(String linkmanIdType2) {
        this.linkmanIdType2 = linkmanIdType2;
    }

    public String getLinkmanPhone2() {
        return linkmanPhone2;
    }

    public void setLinkmanPhone2(String linkmanPhone2) {
        this.linkmanPhone2 = linkmanPhone2;
    }

    public String getLinkmanRelation2() {
        return linkmanRelation2;
    }

    public void setLinkmanRelation2(String linkmanRelation2) {
        this.linkmanRelation2 = linkmanRelation2;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getBizUserId() {
        return bizUserId;
    }

    public void setBizUserId(String bizUserId) {
        this.bizUserId = bizUserId;
    }

    public String getBizUserName() {
        return bizUserName;
    }

    public void setBizUserName(String bizUserName) {
        this.bizUserName = bizUserName;
    }

    public String getBizOrgId() {
        return bizOrgId;
    }

    public void setBizOrgId(String bizOrgId) {
        this.bizOrgId = bizOrgId;
    }

    public String getBizOrgName() {
        return bizOrgName;
    }

    public void setBizOrgName(String bizOrgName) {
        this.bizOrgName = bizOrgName;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public Long getRevision() {
        return revision;
    }

    public void setRevision(Long revision) {
        this.revision = revision;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public LocalDateTime getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(LocalDateTime createdTime) {
        this.createdTime = createdTime;
    }

    public String getUpdatedBy() {
        return updatedBy;
    }

    public void setUpdatedBy(String updatedBy) {
        this.updatedBy = updatedBy;
    }

    public LocalDateTime getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(LocalDateTime updatedTime) {
        this.updatedTime = updatedTime;
    }

    public String getDeleted() {
        return deleted;
    }

    public void setDeleted(String deleted) {
        this.deleted = deleted;
    }

    @Override
    public String toString() {
        return "CpApplicationInfo{" +
        "id = " + id +
        ", appNo = " + appNo +
        ", name = " + name +
        ", gender = " + gender +
        ", age = " + age +
        ", birthday = " + birthday +
        ", nationality = " + nationality +
        ", nation = " + nation +
        ", idNo = " + idNo +
        ", idType = " + idType +
        ", idStartDate = " + idStartDate +
        ", idEndDate = " + idEndDate +
        ", phone = " + phone +
        ", maritalStatus = " + maritalStatus +
        ", email = " + email +
        ", education = " + education +
        ", degree = " + degree +
        ", regisProvince = " + regisProvince +
        ", regisCity = " + regisCity +
        ", regisDistrict = " + regisDistrict +
        ", regisStreet = " + regisStreet +
        ", regisAddress = " + regisAddress +
        ", abodeProvince = " + abodeProvince +
        ", abodeCity = " + abodeCity +
        ", abodeDistrict = " + abodeDistrict +
        ", abodeStreet = " + abodeStreet +
        ", abodeAddress = " + abodeAddress +
        ", workJob = " + workJob +
        ", workUnit = " + workUnit +
        ", workPhone = " + workPhone +
        ", linkmanName1 = " + linkmanName1 +
        ", linkmanIdNo1 = " + linkmanIdNo1 +
        ", linkmanIdType1 = " + linkmanIdType1 +
        ", linkmanPhone1 = " + linkmanPhone1 +
        ", linkmanRelation1 = " + linkmanRelation1 +
        ", linkmanName2 = " + linkmanName2 +
        ", linkmanIdNo2 = " + linkmanIdNo2 +
        ", linkmanIdType2 = " + linkmanIdType2 +
        ", linkmanPhone2 = " + linkmanPhone2 +
        ", linkmanRelation2 = " + linkmanRelation2 +
        ", remark = " + remark +
        ", tenantId = " + tenantId +
        ", bizUserId = " + bizUserId +
        ", bizUserName = " + bizUserName +
        ", bizOrgId = " + bizOrgId +
        ", bizOrgName = " + bizOrgName +
        ", roleId = " + roleId +
        ", revision = " + revision +
        ", createdBy = " + createdBy +
        ", createdTime = " + createdTime +
        ", updatedBy = " + updatedBy +
        ", updatedTime = " + updatedTime +
        ", deleted = " + deleted +
        "}";
    }
}
